// 公共标题
import "@/style/components/title.scss"
const _ = require('lodash');
function Title({ title, sub }) {
    return (
        <div className="Title">
            <div className="Title-main">{title}</div>
            <div className="Title-sub">{_.toUpper(sub)}</div>
            <div className="Title-line"></div>
        </div>
    );
}

export default Title;
